package com.peas.platform.module.icims.contract.initial.controller.vo;

import com.peas.platform.common.core.annotation.Comment;
import com.peas.platform.common.core.vo.BaseVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.*;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel("初始合同执行-转交")
public class ContractInitialTransferVo extends BaseVo {

    // 【初始合同表】
    @Comment(value = "合同ID")
    @ApiModelProperty(value = "合同ID")
    @NotNull(message = "合同ID不能为空")
    private Long contractInitialId;

    @Comment(value = "批次号")
    @ApiModelProperty(value = "批次号")
    @Size(max = 20, message = "批次号不能超过20个字符")
    private String batch;

    // 【用户表】
    @Comment(value = "转交负责人")
    @ApiModelProperty(value = "转交负责人")
    @NotNull(message = "转交负责人不能为空")
    private Long transferUserId;

    @Comment(value = "转交原因")
    @ApiModelProperty(value = "转交原因")
    @NotBlank(message = "转交原因不能为空")
    private String transferReason;

    // 用户表多个ID
    @Comment(value = "指定通知人")
    @ApiModelProperty(value = "指定通知人")
    @Size(max = 200, message = "指定通知人不能超过200个字符")
    private String transferNotify;

    @Comment(value = "转交状态", enumType = "ContractInitialTransferState")
    @ApiModelProperty(value = "转交状态", notes = "枚举取值:ContractInitialTransferState")
    @Size(max = 20, message = "转交状态不能超过20个字符")
    private String state;

}
